package model;

import java.sql.Timestamp;

/**
 * TNotice entity. @author MyEclipse Persistence Tools
 */

public class TNotice implements java.io.Serializable {

	// Fields

	private Integer noticeid;
	private String title;
	private String adminid;
	private String authorcontact;
	private Integer noticetype;
	private String noticecontent;
	private Timestamp releasetime;
	private Integer visitornum;
	private Integer photoid;
	private String note;

	// Constructors

	/** default constructor */
	public TNotice() {
	}

	/** minimal constructor */
	public TNotice(String title, String adminid, String authorcontact,
			Integer noticetype, Timestamp releasetime) {
		this.title = title;
		this.adminid = adminid;
		this.authorcontact = authorcontact;
		this.noticetype = noticetype;
		this.releasetime = releasetime;
	}

	/** full constructor */
	public TNotice(String title, String adminid, String authorcontact,
			Integer noticetype, String noticecontent, Timestamp releasetime,
			Integer visitornum, Integer photoid, String note) {
		this.title = title;
		this.adminid = adminid;
		this.authorcontact = authorcontact;
		this.noticetype = noticetype;
		this.noticecontent = noticecontent;
		this.releasetime = releasetime;
		this.visitornum = visitornum;
		this.photoid = photoid;
		this.note = note;
	}

	// Property accessors

	public Integer getNoticeid() {
		return this.noticeid;
	}

	public void setNoticeid(Integer noticeid) {
		this.noticeid = noticeid;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAdminid() {
		return this.adminid;
	}

	public void setAdminid(String adminid) {
		this.adminid = adminid;
	}

	public String getAuthorcontact() {
		return this.authorcontact;
	}

	public void setAuthorcontact(String authorcontact) {
		this.authorcontact = authorcontact;
	}

	public Integer getNoticetype() {
		return this.noticetype;
	}

	public void setNoticetype(Integer noticetype) {
		this.noticetype = noticetype;
	}

	public String getNoticecontent() {
		return this.noticecontent;
	}

	public void setNoticecontent(String noticecontent) {
		this.noticecontent = noticecontent;
	}

	public Timestamp getReleasetime() {
		return this.releasetime;
	}

	public void setReleasetime(Timestamp releasetime) {
		this.releasetime = releasetime;
	}

	public Integer getVisitornum() {
		return this.visitornum;
	}

	public void setVisitornum(Integer visitornum) {
		this.visitornum = visitornum;
	}

	public Integer getPhotoid() {
		return this.photoid;
	}

	public void setPhotoid(Integer photoid) {
		this.photoid = photoid;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}